package com.ljfresh.customer.dto.udesk;

import com.ljfresh.customer.dto.UDeskResult;
import com.ljfresh.customer.pojo.Customer;
import com.ljfresh.customer.result.Result;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author zzx
 */
@Data
@ApiModel(description= "客户登录结果")

public class CustomerCreateResult extends UDeskResult{

    @ApiModelProperty("客户信息对象")
    private Customer customer;

    //重写构造
    public CustomerCreateResult(){
        super();
    }

    public CustomerCreateResult(Integer code){
        super(code);
    }

    public CustomerCreateResult(Integer code,String message){
        super(code,message);
    }

    public CustomerCreateResult(Customer customer,Integer code,String message) {
        super(code,message);
        this.customer = customer;
    }
}
